package com.sky.mapper;

import com.sky.entity.SetmealDish;
import com.sky.vo.DishItemVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    public List<Long> getSetmealIdsByDishIds(List<Long> dishIds);

    void insert(List<SetmealDish> setmealDishes);

    void deleteBySetmealIds(List<Long> setmealIds);

    List<SetmealDish> getSetmealDishesBySetmealId(Long id);

    List<DishItemVO> getDishItemBySetmealId(Long id);
}
